<div style="font-size:10pt;" class="color">{language text="from_here_you_can_delete_any_of_you_1174"}</div>
    
    <br /><br />
    
{if $iCnt}
{str_replace text="`viewing_ifrom_ito_out_of_icnt_polls`" iFrom="`$iFrom`" iTo="`$iTo`" iCnt="`$iCnt`" }

<br/><br/>
    <br />
     	<table style="width:100%;" cellpadding="0">
     <tr>
     <td style="width:60%;font-size:7pt;" class="color">
    {include file="$sRootPath/_blocks/pager.html"}
     </td><td style="text-align:right;font-size:7pt;">
     	
     	<table style="margin-right:0px;margin-left:auto;">
     	<tr>
        {if isset($aPaging.prevUrl)}
            <td class="mainmenu6" onclick="javascript:window.location.href='{$aPaging.prevUrl}';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';"><a href="{$aPaging.prevUrl}">&nbsp;&nbsp;{language text="prev_page"}&nbsp;&nbsp;</a></td>
        {/if}
        {if isset($aPaging.nextUrl)}
            <td class="mainmenu6" onclick="javascript:window.location.href='{$aPaging.nextUrl}';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';"><a href="{$aPaging.nextUrl}">&nbsp;&nbsp;{language text="next_page"}&nbsp;&nbsp;</a></td>
        {/if}
        {if !isset($aPaging.prevUrl) && !isset($aPaging.nextUrl)}<td></td>
        {/if}
     	</tr>	
     	</table>
     
     </td>
     </tr>
     </table>
    <br />
    {foreach from=$aItems item=aItem key=iKey}
    <table style="width:100%;" cellpadding="3" cellspacing="0"><tr><td{if $iKey % 2 == 0} class="border13"{/if}>
    <table style="width:100%;"><tr><td style="width:75%;font-size:8pt;" class="color">
    {$iFrom+$iKey}. {$aItem.poll|escape}</td><td style="width:20%;font-size:8pt;" class="color"> {$aItem.time|date_format:$sMonthDateFormat} </td>
    <td style="width:5%;font-size:8pt;text-align:center;" class="color"> <a href="{url link='current' delete=$aItem.id}" onclick="return sure('');"> <img src="design/pic/delete.gif" onmouseover="showInfo2('{language text="delete"}');" onmouseout="return nd();" alt="" /> </a> </td>
    </tr></table>
    </td></tr></table>
    {/foreach}
    <br /><br />
    
     	<table style="width:100%;" cellpadding="0">
     <tr>
     <td style="width:60%;font-size:7pt;" class="color">
    {include file="$sRootPath/_blocks/pager.html"}
     </td><td style="text-align:right;font-size:7pt;">
     	
     	<table style="margin-right:0px;margin-left:auto;">
     	<tr>
        {if isset($aPaging.prevUrl)}
            <td class="mainmenu6" onclick="javascript:window.location.href='{$aPaging.prevUrl}';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';"><a href="{$aPaging.prevUrl}">&nbsp;&nbsp;{language text="prev_page"}&nbsp;&nbsp;</a></td>
        {/if}
        {if isset($aPaging.nextUrl)}
            <td class="mainmenu6" onclick="javascript:window.location.href='{$aPaging.nextUrl}';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';"><a href="{$aPaging.nextUrl}">&nbsp;&nbsp;{language text="next_page"}&nbsp;&nbsp;</a></td>
        {/if}
        {if !isset($aPaging.prevUrl) && !isset($aPaging.nextUrl)}<td></td>{/if}
     	</tr>
     	</table>
     
     </td>
     </tr>
     </table>
{else}
    <br />
    <div class="message_info">
    {language text="there_are_no_polls_yet"}
    </div>
    <br /><br />
{/if}